<?php 	$pages=$model;?><div class='contentheader'><?echo sigi::addbox(array(array('title'=>'add Tree', 'link'=>CONTDIR.'page/form/navitree')));?><h1>Navitrees</h1></div><?phpforeach($model->where('type', 'navitree')->orderby('position')->find_all() as $nt){	echo '<div class="navitree_item">';	echo sigi::actionbox('page', $nt->id, 'navitree' );		echo '<h1>'.html::anchor(CONTDIR.'page/single/'.$nt->id, $nt->title).'</h1>';	echo '<p>'.$nt->description.'</p>';	echo '</div>';		}?>